package com.yedean.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yedean.mall.entity.UmsMember;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author yedean
 * @since 2022-08-03
 */
public interface IUmsMemberService extends IService<UmsMember> {

    /**
     * 会员账号是否存在
     */
    boolean memberExist(String username);

    /**
     * 检查会员账号密码是否正确
     */
    boolean memberCheck(String username,String telephone);


    /**
     *  返回成员member信息
     */
    UmsMember getMember(String username);
}
